fix viskores warning
authorDominique Belhachemi <domibel@debian.org>
Thu, 25 Sep 2025 22:41:59 +0000 (18:41 -0400)
committerDominique Belhachemi <domibel@debian.org>
Thu, 25 Sep 2025 22:41:59 +0000 (18:41 -0400)
debian/patches/40_viskores.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/40_viskores.patch b/debian/patches/40_viskores.patch
new file mode 100644 (file)
index 0000000..fe5a99c
--- /dev/null
@@ -0,0 +1,17 @@
+Description: Fix viskores warning
+ /vtk9/ThirdParty/viskores/vtkviskores/viskores/viskores/cont/tbb/internal/RuntimeDeviceConfigurationTBB.h:49:66: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
+   49 |   RuntimeDeviceConfiguration<viskores::cont::DeviceAdapterTagTBB>()
+Author: Dominique Belhachemi <domibel@debian.org>
+Last-Update: 2025-09-25
+
+--- vtk9-9.5.2+dfsg2.orig/ThirdParty/viskores/vtkviskores/viskores/viskores/cont/tbb/internal/RuntimeDeviceConfigurationTBB.h
++++ vtk9-9.5.2+dfsg2/ThirdParty/viskores/vtkviskores/viskores/viskores/cont/tbb/internal/RuntimeDeviceConfigurationTBB.h
+@@ -46,7 +46,7 @@ class RuntimeDeviceConfiguration<viskore
+ {
+ public:
+   VISKORES_CONT
+-  RuntimeDeviceConfiguration<viskores::cont::DeviceAdapterTagTBB>()
++  RuntimeDeviceConfiguration()
+     :
+ #if TBB_VERSION_MAJOR >= 2020
+     HardwareMaxThreads(::tbb::task_arena{}.max_concurrency())
index dd715bc5cf7c4c69ce035b85c1b96453644725c5..4e427241e55af865e894c766b330a91a2bbb0b45 100644 (file)
@@ -1,6 +1,7 @@
 10_matplotlib.patch
 20_do_not_link_against_socket.patch
 30_drop_medical_example.patch
+40_viskores.patch
 50_fix_python-modules_path.patch
 60_fix_path_perl.patch
 84_vtkQWidgetTexture_no_vtkOpenGLCheckErrorMacro.patch